VERSION 5.00
Begin VB.Form frmReportNenu 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "Please select reports"
   ClientHeight    =   4590
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   3285
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MDIChild        =   -1  'True
   MinButton       =   0   'False
   ScaleHeight     =   4590
   ScaleWidth      =   3285
   ShowInTaskbar   =   0   'False
   Begin VB.CommandButton cboMenu 
      Caption         =   "Expenditure statistic"
      Height          =   375
      Index           =   6
      Left            =   0
      TabIndex        =   6
      Top             =   4080
      Width           =   3255
   End
   Begin VB.CommandButton cboMenu 
      Caption         =   "Payment for outside report"
      Height          =   495
      Index           =   10
      Left            =   0
      TabIndex        =   10
      Top             =   3600
      Width           =   3255
   End
   Begin VB.CommandButton cboMenu 
      Caption         =   "Revenue report"
      Height          =   495
      Index           =   9
      Left            =   0
      TabIndex        =   9
      Top             =   3120
      Width           =   3255
   End
   Begin VB.CommandButton cboMenu 
      Caption         =   "Report by order"
      Height          =   495
      Index           =   8
      Left            =   0
      TabIndex        =   8
      Top             =   2640
      Width           =   3255
   End
   Begin VB.CommandButton cboMenu 
      Caption         =   "Compare Monthly Actual && Estimated Expenditure"
      Height          =   495
      Index           =   7
      Left            =   0
      TabIndex        =   7
      Top             =   2160
      Width           =   3255
   End
   Begin VB.CommandButton cboMenu 
      Caption         =   "Expenditure for Gindo"
      Height          =   375
      Index           =   5
      Left            =   0
      TabIndex        =   5
      Top             =   1800
      Width           =   3255
   End
   Begin VB.CommandButton cboMenu 
      Caption         =   "Expenditure by Office"
      Height          =   375
      Index           =   4
      Left            =   0
      TabIndex        =   4
      Top             =   1440
      Width           =   3255
   End
   Begin VB.CommandButton cboMenu 
      Caption         =   "Budget summary for Gindo"
      Enabled         =   0   'False
      Height          =   375
      Index           =   3
      Left            =   0
      TabIndex        =   2
      Top             =   1080
      Width           =   3255
   End
   Begin VB.CommandButton cboMenu 
      Caption         =   "Budget summary by Office"
      Enabled         =   0   'False
      Height          =   375
      Index           =   2
      Left            =   0
      TabIndex        =   1
      Top             =   720
      Width           =   3255
   End
   Begin VB.CommandButton cboMenu 
      Caption         =   "Cash flow for Gindo"
      Height          =   375
      Index           =   1
      Left            =   0
      TabIndex        =   0
      Top             =   360
      Width           =   3255
   End
   Begin VB.CommandButton cboMenu 
      Caption         =   "Cash flow by Office"
      Height          =   375
      Index           =   0
      Left            =   0
      TabIndex        =   3
      Top             =   0
      Width           =   3255
   End
End
Attribute VB_Name = "frmReportNenu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
 
 
 

Private Sub cboMenu_Click(Index As Integer)
    Select Case Index
     Case 0
             Load frmsubreport1
             frmsubreport1.Show
             frmsubreport1.Command1.Tag = "CF"
             frmsubreport1.Caption = "Cf Report by office"
        Case 1
             Load frmsubreport1
             frmsubreport1.Show
             frmsubreport1.Command1.Tag = "GCF"
             frmsubreport1.cboOffice.Enabled = False
             frmsubreport1.Caption = "Cf Report for gindo"
        Case 4
             Load frmsubreport2
             frmsubreport2.Show
             frmsubreport2.Command1.Tag = "ER"
             frmsubreport2.Caption = "Expenditure Report by office"
        Case 5
             Load frmsubreport2
             frmsubreport2.Show
             frmsubreport2.Command1.Tag = "GER"
             frmsubreport2.Caption = "Expenditure Report for Gindo"
            frmsubreport2.cboOffice.Enabled = False
        Case 6
            frmsubreport3.Show
        Case 7
             Load frmsubreport1
             frmsubreport1.Show
             frmsubreport1.Command1.Tag = "ESTIMATED"
             frmsubreport1.Caption = "Estimated expenditure Report"
             frmsubreport1.cboOffice.AddItem "GINDO"
        Case 8
            frmCustom.Show
        Case 9
            frmReceiptReport.Show
        Case 10
            frmPayForReport.Show
    End Select
    Unload Me
End Sub

Private Sub Form_Load()
    Me.Top = Screen.Height / 2 - (Me.Height / 1.5)
    Me.Left = Screen.Width / 2 - (Me.Width / 2)
    If permit = "G" Or permit = "B" Or permit = "A" Then
        cboMenu(1).Enabled = True
        cboMenu(5).Enabled = True
    Else
        cboMenu(1).Enabled = False
        cboMenu(5).Enabled = False
    End If

End Sub

